package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.PurchaseListGoods;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@Component
public interface PurchaseListGoodsDao {

    //保存进货明细
    void savePurchaseListGoods(PurchaseListGoods item);

    //查询进货单商品信息  根据purchaseListId
    List<PurchaseListGoods> goodsList(@Param("purchaseListId") Integer purchaseListId);

    //删除进货明细
    void deletePurchaseListGoods(@Param("purchaseListId") Integer purchaseListId);
}
